package io.jpress.codegen;

import com.google.common.collect.Sets;

import java.util.Set;

public class FilesCopyerTest {

    public static void main(String[] args) {

        Set<String> ignores = Sets.newHashSet(".idea", ".logs", ".git", ".DS_Store", "target"
                , "worker-base.js", "resources", "pom.xml", "Dockerfile", "docker", "doc", "codegen");

        FilesCopyer copyer = new FilesCopyer();
        copyer.setFrom("/Users/michael/work/git/JPressPro");
        copyer.setTarget("/Users/michael/Desktop/copyer");

        copyer.addIgnoreFiles(ignores);
        copyer.addIgnoreSuffix(".sh", ".yml");

        copyer.startCopy();
    }
}
